﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddPrefects.aspx.cs" Inherits="WebApplication1.AddPrefects" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 631px">
        <tr>
        <td></td>
        <td></td>
        <td>
            <asp:Label ID="lblAddPrefects" runat="server" Font-Bold="True" 
                Font-Size="Small" ForeColor="#CC0000"></asp:Label>
            </td>
        </tr>
         <tr>
        <td></td>
        <td>
            <asp:Label ID="Label9" runat="server" Text="Label"></asp:Label>
             </td>
        <td>
            <asp:DropDownList ID="ddlPrefctPrfctBtch" runat="server" 
                onselectedindexchanged="ddlPrefctPrfctBtch_SelectedIndexChanged" 
                Width="421px" Height="20px">
            </asp:DropDownList>
             </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label6" runat="server" Text="Student Name"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlPrefectStudentName" runat="server" Height="22px" 
                    onselectedindexchanged="ddlPrefectStudentName_SelectedIndexChanged" 
                    Width="249px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label7" runat="server" Text="Role"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlPrefectRole" runat="server" 
                    onselectedindexchanged="ddlPrefectRole_SelectedIndexChanged">
                    <asp:ListItem>Head Prefect</asp:ListItem>
                    <asp:ListItem>Deputy Head Prefect</asp:ListItem>
                    <asp:ListItem>Senior Prefect</asp:ListItem>
                    <asp:ListItem>Other</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
         <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label2" runat="server" Text="From Date"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPrefctFrmDate" runat="server" Width="181px"></asp:TextBox>
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Small" 
                    ForeColor="Blue" 
                    
                    Text="This Should be a date value  yyyy/mm/dd format,if you don't know the exact date then atleast give the year as yyyy"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label3" runat="server" Text="To Date"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPrefctToDate" runat="server" Width="181px"></asp:TextBox>
                <asp:Label ID="Label02" runat="server" Font-Bold="True" Font-Size="Small" 
                    ForeColor="Blue" 
                    
                    Text="This Should be a date value  yyyy/mm/dd format,if you don't know the exact date then atleast give the year as yyyy"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Label ID="Label8" runat="server" Text="Description"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPrefectDesc" runat="server" TextMode="MultiLine" 
                    Height="68px" Width="508px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnPrefectSubmit" runat="server" Text="Submit" Width="65px" 
                    onclick="btnPrefectSubmit_Click" />
                <asp:Button ID="btnPrefectCancel" runat="server" style="margin-left: 69px" 
        Text="Cancel" onclick="btnPrefectCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
